Total Complexity | 25 |
Dependencies | 4 |
Dependents | 3 |
Total lines | 256 |
Lines of code | 133 |
Logical lines of code | 58 |
Comment lines | 81 |
Methods | 7 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getAllowedDiscount() | 47 | 8 | 36 | |
commitRedemption() | 47 | 6 | 33 | |
getWooCouponData() | 49 | 3 | 32 | |
cancelRedemption() | 61 | 3 | 12 | |
getActiveRedemption() | 64 | 3 | 10 | |
init() | 67 | 1 | 7 | |
getRedeemCodes() | 79 | 1 | 3 |